<style>
    th,td{
        text-align: center;
    }
</style>

<div class="container" style="width:1200px;">
    <div class="row" style="text-align: center">
        <label style="margin-top: 50px;margin-bottom: 30px;font-size: 24px;">天津大学大型仪器变动统计表</label>
        <div style="margin-left: 1100px;width: 100px">
            价值：元
        </div>
        <table class="table table-bordered">
            <thead>
            <tr>
                <th rowspan="2">部门</th>
                <th rowspan="2" colspan="2">价值区间</th>
                <th rowspan="2">期初数</th>
                <th colspan="4">本期增加数</th>
                <th colspan="4">本期减少数</th>
                <th rowspan="2">期末数</th>
            </tr>
            <tr>
                <th>购置</th>
                <th>调入</th>
                <th>其他</th>
                <th>合计</th>
                <th>调出</th>
                <th>报废</th>
                <th>其他</th>
                <th>合计</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <th rowspan="10">{$title}</th>
                <td rowspan="2">10万元（含）至40万元（不含）</td>
                <td>数量</td>
                {php}
                foreach($list[0] as $key => $value){
                echo '<td align="left" valign="top">'.$value.'</td>';
                }
                {/php}
            </tr>
            <tr>
                <td>价值</td>
                {php}
                foreach($list[1] as $key => $value){
                echo '<td align="left" valign="top">'.$value.'</td>';
                }
                {/php}
            </tr>
            <tr>
                <td rowspan="2">40万元（含）至100万元（不含）</td>
                <td>数量</td>
                {php}
                foreach($list[2] as $key => $value){
                echo '<td align="left" valign="top">'.$value.'</td>';
                }
                {/php}
            </tr>
            <tr>
                <td>价值</td>
                {php}
                foreach($list[3] as $key => $value){
                echo '<td align="left" valign="top">'.$value.'</td>';
                }
                {/php}
            </tr>
            <tr>
                <td rowspan="2">100万元（含）至200万元（不含）</td>
                <td>数量</td>
                {php}
                foreach($list[4] as $key => $value){
                echo '<td align="left" valign="top">'.$value.'</td>';
                }
                {/php}
            </tr>
            <tr>
                <td>价值</td>
                {php}
                foreach($list[5] as $key => $value){
                echo '<td align="left" valign="top">'.$value.'</td>';
                }
                {/php}
            </tr>
            <tr>
                <td rowspan="2">200万元（含）以上</td>
                <td>数量</td>
                {php}
                foreach($list[6] as $key => $value){
                echo '<td align="left" valign="top">'.$value.'</td>';
                }
                {/php}
            </tr>
            <tr>
                <td>价值</td>
                {php}
                foreach($list[7] as $key => $value){
                echo '<td align="left" valign="top">'.$value.'</td>';
                }
                {/php}
            </tr>
            <tr>
                <td rowspan="2">合计</td>
                <td>数量</td>
                {php}
                foreach($list[8] as $key => $value){
                echo '<td align="left" valign="top">'.$value.'</td>';
                }
                {/php}
            </tr>
            <tr>
                <td>价值</td>
                {php}
                foreach($list[9] as $key => $value){
                echo '<td align="left" valign="top">'.$value.'</td>';
                }
                {/php}
            </tr>
            </tbody>
        </table>
    </div>
    </div>
</div>
